//子系统基础配置(打包必配置)
const projectsConfig = {
    //子系统，进件系统配置
    afsApply: {
        title: '汽车金融-进件系统',//系统名
        webKey: '汽车金融-进件系统',//系统描述
        useI18n: false,//启用国际化，目前全部配置为 false
        //api请求路径
        apiUri: {
            test: 'https://wowtest.gwmfc.com/api/pos',//测试地址
            uat: 'https://uatescstest.gwmfc.com/api/pos',//uat测试地址
            lpt:'https://wow.lpt.gwmfc.com/api/wow',//准生产环境
            pro: 'https://wow.gwmfc.com/api/wow'//生产地址
        },
        webSocketUri:{
            dev:'ws://127.0.0.1:9999',
            test: 'wss://127.0.0.1:9999',//测试地址
            uat: 'wss://127.0.0.1:9999',//uat测试地址
            lpt:'wss://127.0.0.1:9999',//准生产环境
            pro: 'wss://127.0.0.1:9999'//生产地址
        },
        //首页路由名
        homeName: 'home_index',
        //页面路径目录，相对于 src/projects 目录
        path:'afs-apply',
        //公共组件请求uri路径
        componentRequestUri:{
            fileUri:'filecenter',
            rule:'apply',
            template:'apply',
            image:'apply'
        },
        menuLocation:'top',
        theme:'afsApply',
        sysDate:{
            type:'system',
            requestUri:''
        },
        topHeaderComponent:['projects/afs-apply/pages/home/search']
    },
    //核心业务系统
    afsCoreBusiness: {
        title: '汽车金融-核心业务系统',//系统名
        webKey: '汽车金融-核心业务系统',//系统描述
        useI18n: false,//启用国际化，目前全部配置为 false
        //api请求路径
        apiUri: {
            test: 'https://bosstest.gwmfc.com/api/ctm',//测试地址
            uat: 'https://uatescstest.gwmfc.com/api/ctm',//uat测试地址
            lpt:'https://boss.lpt.gwmfc.com/api/boss',//准生产环境
            pro: 'https://boss.gwmfc.com/api/boss'//生产地址
        },
        webSocketUri:{
            dev:'ws://127.0.0.1:9999',
            test: 'wss://127.0.0.1:9999',//测试地址
            uat: 'wss://127.0.0.1:9999',//uat测试地址
            lpt:'wss://127.0.0.1:9999',//准生产环境
            pro: 'wss://127.0.0.1:9999'//生产地址
        },
        //首页路由名
        homeName: 'home_index',
        //页面路径目录，相对于 src/projects 目录
        path:'afs-core-business',
        softPhone:{
           dev: {
               api:'http://10.50.133.69/gwaf-system',
               ws:'ws://10.50.133.69/gwaf-wss-system/websocket'
           },
           test:{
               api:'https://dpproxyuat.gwmfc.com/gwaf-system',
               ws:'wss://dpproxyuat.gwmfc.com/gwaf-wss-system/websocket'
           },
           uat:{
               api:'https://dpproxyuat.gwmfc.com/gwaf-system',
               ws:'wss://dpproxyuat.gwmfc.com/gwaf-wss-system/websocket'
           },
           lpt:{
               api:'https://dpproxylpt.gwmfc.com/gwaf-system',
               ws:'wss://dpproxylpt.gwmfc.com/gwaf-wss-system/websocket'
           },
           pro:{
               api:'https://dpproxy.gwmfc.com/gwaf-system',
               ws:'wss://dpproxy.gwmfc.com/gwaf-wss-system/websocket'
           }
        },
        //公共组件请求uri路径
        componentRequestUri:{
            fileUri:'filecenter',
            rule:'product',
            template:'case',
            image:'case',
            batch:'demo',
        },
        menuLocation:'left',
        theme:'default',
        sysDate:{
            type:'system',
            requestUri:''
        },
        topHeaderComponent:[
            'projects/afs-core-business/pages/case/parameter-rules/seats-manage/jobButton',
            'projects/afs-core-business/pages/home/CaseNotice'
        ]
    },
    //合同系统，进件系统配置
    afsContract: {
        title: '汽车金融-合同系统',//系统名
        webKey: '汽车金融-合同系统',//系统描述
        useI18n: false,//启用国际化，目前全部配置为 false
        //api请求路径
        apiUri: {
            test: 'https://icostest.gwmfc.com/api/contract',//测试地址
            uat: 'https://uatescstest.gwmfc.com/api/pos',//uat测试地址
            lpt:'https://icos.lpt.gwmfc.com/api/icos',//准生产环境
            pro: 'https://icos.gwmfc.com/api/icos'//生产地址
        },
        webSocketUri:{
            dev:'ws://127.0.0.1:9999',
            test: 'wss://icostest.gwmfc.com/websocket/contract',//测试地址
            uat: 'wss://127.0.0.1:9999',//uat测试地址
            lpt:'wss://icos.lpt.gwmfc.com/api/icos',//准生产环境
            pro: 'wss://icos.gwmfc.com/websocket/icos'//生产地址
        },
        //首页路由名
        homeName: 'home_index',
        //页面路径目录，相对于 src/projects 目录
        path:'afs-contract',
        //公共组件请求uri路径
        componentRequestUri:{
            fileUri:'filecenter',
            rule:'contractManage',
            template:'contractManage',
            image:'contractManage',
            batch:'contractBasic'
        },
        menuLocation:'left',
        theme:'default',
        sysDate:{
            type:'batchDate',
            requestUri:'/contractBasic/system/date'
        },
        topHeaderComponent:['projects/basic/pages/contract/common/SysTime/index']
    },
    // 渠道系统，渠道系统配置
    afsChannel: {
        title: '汽车金融-渠道系统',//系统名
        webKey: '汽车金融-渠道系统',//系统描述
        useI18n: false,//启用国际化，目前全部配置为 false
        //api请求路径
        apiUri: {
            test: 'https://cistest.gwmfc.com/api/channel',//测试地址
            uat: 'https://uatescstest.gwmfc.com/api/pos',//uat测试地址
            lpt:'https://cis.lpt.gwmfc.com/api/cis',//准生产环境
            pro: 'https://cis.gwmfc.com/api/cis'//生产地址
        },
        webSocketUri:{
            dev:'ws://127.0.0.1:9999',
            test: 'wss://127.0.0.1:9999',//测试地址
            uat: 'wss://127.0.0.1:9999',//uat测试地址
            lpt:'wss://127.0.0.1:9999',//准生产环境
            pro: 'wss://127.0.0.1:9999'//生产地址
        },
        //首页路由名
        homeName: 'home_index',
        //页面路径目录，相对于 src/projects 目录
        path:'afs-channel',
        //公共组件请求uri路径
        componentRequestUri:{
            fileUri:'filecenter',
            rule:'channel',
            template:'channel',
            image:'channel'
        },
        menuLocation:'left',
        theme:'orange',
        sysDate:{
            type:'system',
            requestUri:''
        },
        topHeaderComponent:[]
    },
}

module.exports = projectsConfig
